package com.heima.api.client;


import com.heima.api.po.Order;
import org.springframework.cloud.openfeign.FeignClient;

import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient("trade-service")
public interface TradeClient {
    @PutMapping("/orders/update")
    void updateById(@RequestBody Order order);
}
